#!/usr/bin/ksh

# Script name: shift.ksh

USAGE="usage: $0 arg1 arg2 ... argN"

if (( $# == 0 ))
then
	print $USAGE
	exit 1
fi

print "The arguments to the script are:"
while (($#))
do
	print $1
	shift
done

print 'The value of $* is now:' $*

